-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[core] Explicitly define exported subpaths #870
base: master
Are you sure you want to change the base?
Conversation
michaldudak
commented
Nov 25, 2024
•
edited
Loading
edited
- Explicitly defined identifiers exported from the package, as we don't intend to make every top-level package subdirectory public.
- Removed babel and webpack package aliases. There is now a single place that defines them: tsconfig
- Updated the build scripts to transform the package.json exports.
Netlify deploy preview |
@@ -2,6 +2,7 @@ | |||
.nyc_output | |||
/coverage | |||
/docs/.next | |||
/docs/data/**/*.js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to lint autogenerated files
@@ -1,263 +0,0 @@ | |||
'use client'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the two Slider experiments that use internal API
"./unstable-no-ssr": "./src/unstable-no-ssr/index.ts", | ||
"./unstable-use-media-query": "./src/unstable-use-media-query/index.ts", | ||
"./utils": "./src/utils/index.ts" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added the unstable- prefix to NoSsr and useMediaQuery as they are not documented yet (and their API might change).